package com.du.integration.server.handle.filter;

import lombok.Data;

/**
 * @Desc :
 * @Author: shuangdu
 * @date : 2024/1/9
 */
@Data
public class EqualsTopicFilter implements MqttTopicFilter {

    private final String filterTopic;

    @Override
    public boolean filter(String topic) {
        return filterTopic.equals(topic);
    }
}
